package com.project.common.domain.dto;

import lombok.Data;
import org.modelmapper.ModelMapper;

import java.time.LocalDateTime;

/**
 * BaseDto
 *
 */
@Data
public class BaseDTO extends BaseAssembler{
    public static void map(Object source, Object destinationType) {
        ModelMapper modelMapper = new ModelMapper();
        modelMapper.map(source, destinationType);
    }

    private Long id;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUserId;
    private Long lastModifiedUserId;
}
